<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>后台管理系统</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    {load href="/static/css/bootstrap.css" /}
    {load href="/static/css/theme.css" /}
    {load href="/static/css/font-awesome.css" /}
    {load href="/static/js/jquery-1.7.2.min.js" /}
    <!-- Demo page code -->
    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
        .row-fluid{
            margin-top:20px;
        }
    </style>
    <link rel="shortcut icon" href="../assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
  </head>
  <body class="">  
  {include file="public:header"}
  {include file="public:left"}
    <div class="content">
        <div class="header">
          {include file="public:calendar"} 
            <h1 class="page-title">用户组设定</h1>
        </div>
             <ul class="breadcrumb">
                <li><a href="url('/admin/index/index')">{:request()->module()}</a> <span class="divider">/</span></li>
                <li class="active">{:request()->action()}</li>
            </ul>
        <div class="container-fluid" >
        <div class="row-fluid">
           <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
               <tbody>
                   <tr>
                       <td height="28" colspan="3" background="http://localhost/test/public/static/img/allbg.gif">
                          <table width="96%" border="0" cellspacing="1" cellpadding="1">
                             <tbody>
                                 <tr>
                                     <td width="24%" style="padding-left: 10px;">
                                         <b>系统用户组管理</b>
                                     </td>
                                     <td width="76%" align="right">
                                         <a href="{:url('admin/user/add_group')}" class="btn btn-primary">增加用户组</a>
                                          <a href="{:url('admin/user/user')}" class="btn btn-danger">管理系统用户</a>
                                     </td>
                                 </tr>
                             </tbody> 
                          </table> 
                       </td>
                   </tr>
                   <tr bgcolor="#FBFCE2" align="center">
                       <td width="20%" height=24>rank</td>
                       <td width="45%">组名称</td>
                       <td width="35%">管理</td>
                   </tr>
                   {volist id="v" name="rank" key="i"}
                      <tr align="center" bgcolor="#FFFFFF">
                          <td width="20%" height=24>{$v}</td>
                          <td width="45%">{$gname[$i-1]}</td>
                          <td ><a href="">[权限设定]</a>&nbsp;&nbsp;<a href="{:url('admin/user/user',['id'=>$gid[$i-1]])}">[组用户]</a></td>
                      </tr>
                   {/volist}
               </tbody>
           </table>     
            </div>
            {include file="public:footer"}   
        </div>
    </div>
    


   {load href="/static/js/bootstrap.js" /}
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
         var d=new Date
        $("#year").html(d.getFullYear())
        $("#month").html(d.getMonth()+1)
        $("#date").html(d.getDate())
    </script>
    
  </body>
</html>


